package com.library.cxq.service;

public interface ReaderService {
    boolean register(Integer reaId,String idCard, String pwd,String name,Integer age,String phone,double price);
    boolean login(Integer reaId,String pwd);
    /**
     * 核实信息
     * @param phone
     * @param cardId
     * @return
     */
    boolean verification(String phone,String cardId);

    /**
     * 找回密码修改
     * @param cardId
     */
    void updatePwd(String cardId,String pwd);

    /**
     * 修改吗密码
     * @param id
     * @param pwd
     */
    void updatePwd(Integer id,String pwd);
}
